package cn.ibdsr.human.exception;

import cn.ibdsr.human.constant.GunsExceptionEnum;

/**
 * @description:
 * @author: cdl
 * @email: iamcimon@qq.com
 * @date: 2021/8/2 13:30
 */
public class CheckDtoException extends GunsException {
    public CheckDtoException(GunsExceptionEnum bizExceptionEnum) {
        super(bizExceptionEnum.getCode(), bizExceptionEnum.getMessage(), bizExceptionEnum.getUrlPath());
    }

    public CheckDtoException(GunsExceptionEnum bizExceptionEnum, String message) {
        super(bizExceptionEnum.getCode(), message, bizExceptionEnum.getUrlPath());
    }

    public CheckDtoException(int code, String message) {
        super(code, message);
    }
}
